package com.qzh.ClassLine;


import lombok.Data;

@Data
public   class People implements Cloneable{
    private String name;
    private int age;
    private String[] hobby;
    private String nickName;
    private String familyName;

    public String nameValue(String name){
        if(name !=null)
            this.name = name;
            return this.name;
    }
    public People clone() throws CloneNotSupportedException {
        return (People) super.clone();
    }
}
